
package term_project;


public class User 
{
    protected String username;
    protected int userID;
    
    public User(int id, String name)
    {
        userID = id;
        username = name;
    }
    
    public int getId()
    {
        return userID;
    }
    public String getUsername()
    {
        return username;
    }
    @Override
    public String toString()
    {
        return String.format("User: %s \t Id: %d", username, userID);
    }
}
